package au.com.handsunited.dao;

import java.util.List;

import au.com.handsunited.model.BaseEntity;
import au.com.handsunited.model.invitations.Invitation;

/**
 * @author arunda
 *
 */
public interface InvitationDAO extends GenericDAO<Invitation, Long>{

	/**
	 *
	 * @return
	 */
	List<Invitation> getAllInvitations();

	/**
	 *
	 * @param from
	 * @param to
	 * @return
	 */
	List<Invitation> getAllInvitationsFromTo(BaseEntity from, BaseEntity to);

	/**
	 *
	 * @param to
	 * @return
	 */
	List<Invitation> getAllInvitationsTo(BaseEntity to);


}

